package com.studentachievement.beans;

public class Course {
    private int courseId;
    private String courseName;
    private String teacherName;
    private int credits;

    // Getters and Setters

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public int getCredits() {
        return credits;
    }

    public void setCredits(int credits) {
        this.credits = credits;
    }
    public void print(){
        System.out.println( "course:courseID:" + courseId + "courseName:" + courseName + "teacherName:" + teacherName + "credits:" + credits);
    }
}
